﻿using Kanban.DALContainer;
using Kanban.IBLL;
using Kanban.IDal;
using Kanban.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Kanban.BLL
{
    public class Sys_MenusService : BaseService<Sys_Menus>, ISys_MenusService
    {
        private readonly ISys_MenusDal Sys_MenusDal = Container.Resolve<ISys_MenusDal>();

        public Task<List<Sys_Menus>> GetAll()
        {
            return Sys_MenusDal.GetAll();
        }

        public override void SetCurrentDal()
        {
            Dal = Sys_MenusDal;
        }
    }
}
